package com.yc.qunxing.service.impl;

import com.yc.qunxing.entity.DriverLocations;
import com.yc.qunxing.mapper.DriverLocationsMapper;
import com.yc.qunxing.service.IDriverLocationsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 鹏哥
 * @since 2024-05-23
 */
@Service
public class DriverLocationsServiceImpl extends ServiceImpl<DriverLocationsMapper, DriverLocations> implements IDriverLocationsService {
    @Autowired
    DriverLocationsMapper driverLocationsMapper;

    public String getLocationByDriverId(Integer id) {
        return driverLocationsMapper.getLocationByDriverId(id);
    }
}
